package com.changan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

@Data
@Tag(name = "用户添加信息")
public class UserAddVO {

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "联系电话")
    private String phoneNumber;

    @Schema(description = "状态 0锁定 1有效")
    private Integer status;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "性别 0男 1女 2保密")
    private Integer sex;

    @Schema(description = "盐")
    private String salt;

    @Schema(description = "0:超级管理员，1：系统用户")
    private Integer type;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "生日")
    private LocalDate birth;
}
